<?php
function custom_caprica_config() {
    
    $form['c_bundles'] = array(
        '#type' => 'fieldset',
        '#collapsed' => false,
        '#collapsible' => true,
        '#title' => 'Bundles',
    );
    
    $bundles = node_get_types('names');

    $form['c_bundles']['c_user_bundles'] = array(
        '#type' => 'checkboxes',
        '#title' => 'User bundles',
        '#options' => $bundles,
        '#default_value' => variable_get('c_user_bundles',$bundles),
    );
    
     $form['c_bundles']['c_admin_bundles'] = array(
        '#type' => 'checkboxes',
        '#title' => 'Admin bundles',
        '#options' => $bundles,
        '#default_value' => variable_get('c_admin_bundles',$bundles),
    );
    
    return system_settings_form($form);
}

?>